[INFO] cloning repository https://github.com/Hood-Codivo/rust-book-course
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hood-Codivo/rust-book-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7773fc9b90f597a3248e4419289fceebbc171f30
[INFO] fixing Hood-Codivo/rust-book-course against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Hood-Codivo/rust-book-course
[INFO] finished tweaking git repo https://github.com/Hood-Codivo/rust-book-course
[INFO] tweaked toml for git repo https://github.com/Hood-Codivo/rust-book-course written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Hood-Codivo/rust-book-course on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Hood-Codivo/rust-book-course already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd
[INFO] running `Command { std: "docker" "start" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
[INFO] [stdout]   --> src/bin/10_borrowing_references.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |     some_string.push_push_str(string: ", world");
[INFO] [stdout]    |                                     ^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s3`
[INFO] [stdout]   --> src/bin/09_ownership.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let s3 = String::from("Rust");
[INFO] [stdout]    |         -- move occurs because `s3` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 32 |     calculate_length(s3); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                      -- value moved here
[INFO] [stdout] 33 |     println!("s3: {}", s3); // s3 is invalid here
[INFO] [stdout]    |                        ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `calculate_length` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/09_ownership.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn calculate_length(s: String )-> usize {
[INFO] [stdout]    |    ----------------    ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 32 |     calculate_length(s3.clone()); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "09_ownership") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `Rust` (bin "10_borrowing_references" test) due to 1 previous error
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
[INFO] [stdout]   --> src/bin/19_collections_vectors.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     match v.get(index: 2) {
[INFO] [stdout]    |     -----            ^ expected one of 8 possible tokens
[INFO] [stdout]    |     |
[INFO] [stdout]    |     while parsing this `match` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/bin/20_collections_strings.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     println!("Empty string: '{}'", s)
[INFO] [stdout]    |                                      ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let data: &str = "initial contents";
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
[INFO] [stdout]   --> src/bin/20_collections_strings.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |     s.push_str(string: "bar"); // `push_str` apend a string slice (&str)
[INFO] [stdout]    |                      ^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]   --> src/bin/20_collections_strings.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | } fn main
[INFO] [stdout]    |          ^
[INFO] [stdout]    |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]    |
[INFO] [stdout] 50 | } fn main()
[INFO] [stdout]    |          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `<eof>`
[INFO] [stdout]   --> src/bin/20_collections_strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 | } fn main
[INFO] [stdout]    |      ^^^^ expected one of `->`, `<`, `where`, or `{`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "20_collections_strings" test) due to 4 previous errors
[INFO] [stdout] error[E0425]: cannot find value `v2` in this scope
[INFO] [stdout]   --> src/bin/19_collections_vectors.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |     println!("The vector `v` is: {:?}", v2);
[INFO] [stdout]    |                                         ^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 22 -     println!("The vector `v` is: {:?}", v2);
[INFO] [stdout] 22 +     println!("The vector `v` is: {:?}", v);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `println`
[INFO] [stdout]   --> src/bin/19_collections_vectors.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     println("--- 1. Creating Vectors ---");
[INFO] [stdout]    |     ^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 13 |     println!("--- 1. Creating Vectors ---");
[INFO] [stdout]    |            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "19_collections_vectors") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd", kill_on_drop: false }`
[INFO] [stdout] 5ef3ae4e8c331e1969bb2a1a1aca625039e5a22aadfaf1510141923fcf8372cd
